home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
090
/
pctj8404.arc
/
TONEOFF.ASM
< prev
next >
Wrap
Assembly Source File
|
1986-09-14
|
384b
|
15 lines
; ROUTINE TO TURN TONE OFF;
toneoff proc far
;
push ax ; save registers
;
; turn off timer 2 and speaker
in al,61h ; get port B again
and al,11111100b ; turn off timer and speaker
out 61h,al ; now do it
;
pop ax ; restore registers
ret
;
toneoff endp